package com.shop.cloud.model.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.request.RestfulRequest;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetSysPositionListRequest extends RestfulRequest {

    private static final long serialVersionUID = -3286520204644035655L;
    
    @JsonProperty("startTime")
    @ApiModelProperty(value = "", example = "", required = true)
    private String start_time;
    
    @JsonProperty("endTime")
    @ApiModelProperty(value = "", example = "", required = true)
    private String end_time;
    
    @JsonProperty("role")
    @ApiModelProperty(value = "", example = "", required = true)
    private String role;
    
    @JsonProperty("position")
    @ApiModelProperty(value = "", example = "", required = true)
    private String position;
    
    @JsonProperty("keyword")
    @ApiModelProperty(value = "", example = "", required = true)
    private String key;

    
  //数据权限判断 1可查看和编辑本店和下属店面的内容，2仅可查看编辑本店的内容
  	private Integer authorityNow;
  	
  	private Long[] positionIds;
    
	public Integer getAuthorityNow() {
		return authorityNow;
	}

	public void setAuthorityNow(Integer authorityNow) {
		this.authorityNow = authorityNow;
	}

	

	public Long[] getPositionIds() {
		return positionIds;
	}

	public void setPositionIds(Long[] positionIds) {
		this.positionIds = positionIds;
	}

	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
}
